package com.qd.common.panda.domain.search;

import com.cdqidi.util.page.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class CarParkSearch extends BaseQuery {
    /**
     * 停车场编码:自动生成，用于葵花码中的参数
     */
    private String code;
    /**
     * 名称
     */
    private String name;
    /**
     * 停车场类型
     */
    private String carParkType;
    /**
     * 车位类型
     */
    private String parkSpaceType;
    /**
     * 是否第三方计费
     */
    private String thirdPartyBill;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 机构ID
     */
    private String orgId;
    /**
     * 是否启用
     */
    private String enable;
    /**
     * 是否自营
     */
    private String ownBusiness;
    /**
     * 类型
     */
    private String parkType;
    /**
     * 地址
     */
    private String address;
    /**
     * 纬度
     */
    private Double lat;
    /**
     * 经度
     */
    private Double lng;

    @Override
    public void freeData() {
        this.code = null;
        this.name = null;
        this.carParkType = null;
        this.parkSpaceType = null;
        this.thirdPartyBill = null;
        this.operator = null;
        this.orgId = null;
        this.enable = null;
        this.ownBusiness = null;
        this.parkType = null;
        this.address = null;
        this.lat = null;
        this.lng = null;
        super.freeData();
    }
}
